#include "Food.h"

CFood::CFood(void)
{
	nScore_=0;
}

CFood::~CFood(void)
{
}

void CFood::SetScore( int nScore )
{
	nScore_=nScore;
}

int CFood::GetScore()
{
	return nScore_;

}

bool CFood::init(const std::string arrayPic[],int nNum,float fIntervalTime)
{
	if (!CAnimationSprite::init(arrayPic,nNum,fIntervalTime))
	{
		return false;
	}
	return true;
}